home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
011
/
sims.arc
/
VIDEODEM.SRC
< prev
Wrap
Text File
|
1987-04-07
|
5KB
|
271 lines
' Video Demonstration Menu Version 1.00
' SIMS (c) David Thomas Stewart 1984-1987
' Distributed by Synergy Development - THIS PROGRAM IS PUBLIC DOMAIN
screen(n)
normal
foreground(white+)
background(red)
setdate
settime
date(2,9)
time(65,9)
normal
foreground(green)
setattr
box(0,0)-(79,24),"║"
fill(1,0),"═",78
fill(1,24),"═",78
fill(1,8),"─",78
fill(1,10),"─",78
.(0,0)"╔"
.(0,24)"╚"
.(79,0)"╗"
.(79,24)"╝"
.(0,8)"╟"
.(79,8)"╢"
.(0,10)"╟"
.(79,10)"╢"
foreground(white+)
background(blue)
setattr
.(29,9)" Video Demo Version 1.00 "
normal
foreground(yellow)
setattr
.(9,2)"█▒ █▒ █▒ ███▒ ████▒ ██████▒ ███▒ ████▒ ███████▒"
.(9,3)"█▒ █▒ █▒ █▒ █▒ █▒ █▒ █▒ █▒ █▒ █▒ █▒ █▒ █▒"
.(9,4)"█▒ █▒ █▒ █▒ █▒ ████▒ █▒ █▒ █▒ █▒ ████▒ █▒ █▒ █▒"
.(9,5)"█▒█▒ █▒ █▒ █▒ █▒ █▒ █▒ █▒ █▒ █▒ █▒ █▒ █▒"
.(9,6)"██▒ █▒ ██████▒ ██████▒ ██████▒ ██████▒ ██████▒ █▒ █▒ █▒"
option start
option(F1,15,13)" F1 - Box Demo ","NULL"
option(F3,15,14)" F3 - Text Demo ","NULL"
option(F5,15,15)" F5 - Border Demo ","NULL"
option(F2,40,13)" F2 - Field Demo ","NULL"
option(F4,40,14)" F4 - Fill Demo ","NULL"
option(F6,40,15)" F6 - Return to DEMO Menu","MENU DEMO"
option end
border(grey)
proc(F1,exec)
invisible
setdate
settime
normal
setattr
field(0,0)-(79,24)
.(10,0)">>> BOX DEMONSTRATION - Press Any Key to Advance Forward <<<"
wait(any)
foreground(green)
setattr
box(0,0)-(79,24),"█"
wait(any)
foreground(blue)
setattr
box(1,1)-(78,23),"█"
wait(any)
foreground(green)
setattr
box(2,2)-(77,22),"▓"
wait(any)
foreground(cyan)
setattr
box(3,3)-(76,21),"▓"
wait(any)
foreground(red)
setattr
box(4,4)-(75,20),"▒"
wait(any)
foreground(magenta)
setattr
box(5,5)-(74,19),"▒"
wait(any)
foreground(brown)
setattr
box(6,6)-(73,18),"░"
wait(any)
foreground(white)
setattr
box(7,7)-(72,17),"░"
wait(any)
foreground(grey)
blink on
setattr
box(8,8)-(71,16),"█"
wait(any)
normal
setattr
.(13,12)"*** BOX Demo Complete - Press any key to continue ***"
wait(any)
proc end
proc(F3,exec)
invisible
setdate
settime
normal
setattr
field(0,0)-(79,24)
.(10,0)">>> TEXT DEMONSTRATION - Press Any Key to Advance Forward <<<"
wait(any)
.(10,10)"This is an example of inline "
underline bright
setattr
."COLOUR"
normal
setattr
." changes on the same line."
wait(any)
blink on
setattr
.(20,15)"Blinking text can be specified also."
wait(any)
normal
setattr
.(10,0)"*** TEXT Demo Complete - Press any key to continue *** "
wait(any)
proc end
proc(F5,exec)
invisible
setdate
settime
normal
setattr
field(0,0)-(79,24)
.(10,0)">>> BORDER DEMONSTRATION - Press Any Key to Advance Forward <<<"
wait(any)
.(30,11)"BLACK Border"
border(black)
wait(any)
.(30,11)"BLUE "
border(blue)
wait(any)
.(30,11)"GREEN"
border(green)
wait(any)
.(30,11)"CYAN "
border(cyan)
wait(any)
.(30,11)"RED "
border(red)
wait(any)
.(30,11)"MAGENTA"
border(magenta)
wait(any)
.(30,11)"BROWN "
border(brown)
wait(any)
.(30,11)"WHITE "
border(white)
wait(any)
.(30,11)"GREY "
border(grey)
wait(any)
.(30,11)"BLUE+"
border(blue+)
wait(any)
.(30,11)"GREEN+"
border(green+)
wait(any)
.(30,11)"CYAN+ "
border(cyan+)
wait(any)
.(30,11)"RED+ "
border(red+)
wait(any)
.(30,11)"MAGENTA+"
border(magenta+)
wait(any)
.(30,11)"YELLOW "
border(yellow)
wait(any)
.(30,11)"WHITE+"
border(white+)
wait(any)
normal
setattr
.(30,11)" "
border(grey)
.(10,0)"*** BORDER Demo Complete - Press any key to continue *** "
wait(any)
proc end
proc(F2,exec)
invisible
setdate
settime
normal
setattr
field(0,0)-(79,24)
.(10,0)">>> FIELD DEMONSTRATION - Press Any Key to Advance Forward <<<"
wait(any)
normal
background(red)
setattr
field(2,2)-(77,23)
wait(any)
inverse
setattr
field(10,10)-(35,20)
wait(any)
normal
underline bright
background(blue)
setattr
field(20,15)-(70,22)
wait(any)
normal
background(green)
setattr
field(30,12)-(50,17)
wait(any)
normal
setattr
.(10,0)"*** FIELD Demo Complete - Press any key to continue *** "
wait(any)
proc end
proc(F4,exec)
invisible
setdate
settime
normal
setattr
field(0,0)-(79,24)
.(10,0)">>> FILL DEMONSTRATION - Press Any Key to Advance Forward <<<"
wait(any)
fill(0,2),"*",240
wait(any)
fill(10,10),"═",15
wait(any)
background(magenta)
setattr
fill(0,20),"█",80
wait(any)
normal
setattr
.(10,0)"*** FILL Demo Complete - Press any key to continue *** "
wait(any)
proc end
end